package com.suncmf.demo.model;

import java.util.Date;
import javax.persistence.*;
import javax.validation.constraints.NotNull;


public class RoleModel {

    private Integer id;


    private String code;


    @NotNull(message = "角色名称不能为空!")
    private String name;


    private Short status;


    private Date createTime;


    private Date updateTime;

}